package com.epam.training.concurrency.second.task4;

import java.math.BigInteger;
import java.util.concurrent.Callable;

/**
 * Test thread for Serias
 * 
 * @author bogdan
 *
 */
public class TestThread implements Callable<BigInteger> {

	private static Series series = new Series();

	@Override
	public BigInteger call() throws Exception {
		return series.next();
	}
}
